# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-microblog-sina/pidgin-microblog-sina.0.1.ebuild $
# v 0.1
# by @tsaotse
# thanks deanraccoon
EAPI=2

inherit base toolchain-funcs

DESCRIPTION="Libpurple (Pidgin) plug-in supporting microblog services like sina weibo"
HOMEPAGE="http://code.google.com/p/libpurple-microblog-sina/"
MY_P="${P/pidgin-/}"
SRC_URI="http://libpurple-microblog-sina.googlecode.com/files/libpurple-${MY_P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND=" 
		"
DEPEND="${RDEPEND}
	virtual/pkgconfig"
S=${WORKDIR}/${MY_P}

pkg_setup() {
	tc-export CC
}

src_configure() {
	./libpurple-${MY_P}/configure 
}

